package com.ruoyi.project.system.orderteamuser.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 拼团订单人员对象 order_team_user
 * 
 * @author f_baisi
 * @date 2021-03-04
 */
public class OrderTeamUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拼团订单人员表ID */
    private String id;

    /** 拼团订单ID */
    @Excel(name = "拼团订单ID")
    private String orderId;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 是否是订单发起人 0：不是，1：是 */
    @Excel(name = "是否是订单发起人 0：不是，1：是")
    private Integer isMain;

    /** 拼团订单ID */
    @Excel(name = "拼团订单ID")
    private String orderTeamGoodsId;

    /** 团队ID */
    @Excel(name = "团队ID")
    private String teamId;

    /** 删除标记(0-正常,1-删除) */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setIsMain(Integer isMain) 
    {
        this.isMain = isMain;
    }

    public Integer getIsMain() 
    {
        return isMain;
    }
    public void setOrderTeamGoodsId(String orderTeamGoodsId) 
    {
        this.orderTeamGoodsId = orderTeamGoodsId;
    }

    public String getOrderTeamGoodsId() 
    {
        return orderTeamGoodsId;
    }
    public void setTeamId(String teamId) 
    {
        this.teamId = teamId;
    }

    public String getTeamId() 
    {
        return teamId;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("isMain", getIsMain())
            .append("orderTeamGoodsId", getOrderTeamGoodsId())
            .append("teamId", getTeamId())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
